package design_pattern.momento.test1;

/**
 * Created by WeiDingKuo on 2017/10/27 14:26
 * <p>
 * 负责人角色，负责保管备忘录
 */
public class CareTaker {
    private Momento momento;

    public Momento retrieveMomento() {
        return this.momento;
    }

    public void saveMomento(Momento momento) {
        this.momento = momento;
    }
}
